function [ zRowName ] = getZRowName( this, zRowId )
% DataMatrix::getZRowName(dataMatrix, zRowId)
% Get the row names of the DataMatrix object
%
% Input
% 1. dataMatrix
% 2. zRowId : sub-reference to which row names to get
%             set to ':' if not explicitly specified
%
% Output
% 1. zRowName : row names of the DataMatrix object
%               ( nCol-by-1 cell )
%
% Syntax
% 1. zRowName = dataMatrix.getZRowName();
% 2. zRowName = dataMatrix.getZRowName(1:2);
% 3. zRowName = dataMatrix.getZRowName(':');

% Return all $zRowName$ if $zRowId$ is not explicitly specified
if nargin == 1
    zRowId = ':';
end

zRowName = this.zRowName(zRowId);

end
